Re: [NTG-context] setupbars

2012-07-10 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... OK - On Tue, 10 Jul 2012 00:16:08 +0200, Hans Hagen pra...@wxs.nl wrote: actually it does accept more units but they were pretty small (needed an 1/u) anyhow, in the next beta we can do \starttext \setupbars[unit=mm,rulethickness=1] bar\startbar[underbar]foo\stopbar bar\blank

Re: [NTG-context] setupbars

2012-07-10 Thread Hans Hagen
On 10-7-2012 15:25, Procházka Lukáš Ing. - Pontex s. r. o. wrote: ... OK - On Tue, 10 Jul 2012 00:16:08 +0200, Hans Hagen pra...@wxs.nl wrote: actually it does accept more units but they were pretty small (needed an 1/u) anyhow, in the next beta we can do \starttext \setupbars[unit=mm

Re: [NTG-context] setupbars

2012-07-09 Thread Meer, H. van der
There is still an issue here. \setupbars[unit=mm,rulethickness=1] AB\startbar[underbar]CD\stopbar EF\crlf \setupbars[unit=ex,rulethickness=1] AB\startbar[underbar]CD\stopbar EF\crlf \setupbars[unit=pt,rulethickness=1] AB\startbar[underbar]CD\stopbar EF\crlf The first and third setup do not give

Re: [NTG-context] setupbars

2012-07-09 Thread Wolfgang Schuster
Am 09.07.2012 um 09:09 schrieb Meer, H. van der: There is still an issue here. \setupbars[unit=mm,rulethickness=1] AB\startbar[underbar]CD\stopbar EF\crlf \setupbars[unit=ex,rulethickness=1] AB\startbar[underbar]CD\stopbar EF\crlf \setupbars[unit=pt,rulethickness=1] AB\startbar[underbar

Re: [NTG-context] setupbars

2012-07-09 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Mon, 09 Jul 2012 09:26:51 +0200, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: to allow “rulethickness=…pt”. +1 Lukas Wolfgang -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4

Re: [NTG-context] setupbars

2012-07-09 Thread Bill Meahan
On Mon, 9 Jul 2012 09:26:51 +0200 Wolfgang Schuster schuster.wolfg...@gmail.com wrote: The underlying Lua code accepts only “ex” and “em” as valid options for the “unit” key but I would also vote to accept either “pt”, “mm” etc. as unit value or to allow “rulethickness=…pt”. Wolfgang It

Re: [NTG-context] setupbars

2012-07-09 Thread Hans Hagen
On 9-7-2012 09:26, Wolfgang Schuster wrote: Am 09.07.2012 um 09:09 schrieb Meer, H. van der: There is still an issue here. \setupbars[unit=mm,rulethickness=1] AB\startbar[underbar]CD\stopbar EF\crlf \setupbars[unit=ex,rulethickness=1] AB\startbar[underbar]CD\stopbar EF\crlf \setupbars[unit

[NTG-context] setupbars

2012-07-08 Thread Meer, H. van der
This gives an error: \starttext \setupbars[rulethickness=4pt] \stoptext ! LuaTeX error main ctx instance:1: malformed number near '4pt'. ConTeXt ver: 2012.07.04 23:48 MKIV fmt: 2012.7.6 int: english/english Elsewhere this is ok, as for example in: \framed[rulethickness=4pt]{} Strangely

Re: [NTG-context] setupbars

2012-07-08 Thread Wolfgang Schuster
Am 08.07.2012 um 22:24 schrieb Meer, H. van der: This gives an error: \starttext \setupbars[rulethickness=4pt] \stoptext ! LuaTeX error main ctx instance:1: malformed number near '4pt'. ConTeXt ver: 2012.07.04 23:48 MKIV fmt: 2012.7.6 int: english/english Elsewhere this is ok

Re: [NTG-context] setupbars

2012-07-08 Thread Meer, H. van der
Thansk, I see. \setupbars doesn't give a hit on ConTeXt-wiki, so I couldn't find this. Still I dare say, it is a pity that [rulethickness=] gets a different meaning here than elsewhere. I would like to ask to reconsider, because I strongly believe in consistency in the API (though I am ready